.nav-btn {
  color: grey;
}
@media (min-width: 1200px) {
  .container-fluid {
    max-width: 1200px;
  }
}
.post-date {
  color: #aaa;
  font-size: 12px;
}

.container-fluid {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
.align-items-center {
  -webkit-box-align: center !important;
  align-items: center !important;
}

.justify-content-between {
  -webkit-box-pack: justify !important;
  justify-content: space-between !important;
}
.custom-divider {
  border-bottom: 1px solid lightgrey;
  width: 100%;
}

.b-container {
  margin: 10px 20px 35px 20px;
}

.custom-footer {
  border-top: 1px solid lightgrey;
  bottom: 0;
  width: 100%;
}

.custom-container {
  padding: 0px 20px;
  overflow: hidden;
}

.top-right-panel > * {
  margin-right: 10px;
}

.switch-version-lbtn > :first-child {
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
  background-color: #e62117;
  line-height: 20px;
  color: #fff;
}

.switch-version-lbtn > :last-child {
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
  border: 1px solid #ccc;
  border-left: none;
  background-color: #fafafa;
  line-height: 20px;
  color: #333;
}

.switch-version-lbtn > * {
  display: inline-block;
  padding: 0 8px;
  height: 24px;
  font-family: Tahoma, Verdana, Geneva, sans-serif;
  font-size: 14px;
}

.pd-y-10 {
  padding: 10px 0;
}

.inlineblock {
  display: inline-block;
}

.custom-menu a {
  color: black;
  font-family: Tahoma, Verdana, Geneva, sans-serif;
  font-size: 14px;
  margin-right: 10px;
}

.social-btn {
  font-size: 28px;
  height: 24px;
  position: relative;
  color: grey;
  display: inline-flex;
  margin-right: 10px;
}

.social-btn a {
  position: relative;
  color: grey;
  display: inline-flex;
}

.youtube:hover {
  color: red;
}

.v-middle {
  vertical-align: middle;
}

.news-button {
  background-image: url(https://mgronline.com/images/news1.jpg);
  width: 70px;
  background-position: 0 0;
  display: inline-block;
  height: 20px;
  border-left: solid 3px #000;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

.line-icon {
  height: 24px;
  width: 24px;
  position: relative;
  top: 2px;
  opacity: 0.5;
  border-radius: 5px;
}
.line-icon-white {
  height: 24px;
  width: 24px;
  position: relative;
  top: 2px;
  border-radius: 5px;
}

.p-easy-menu {
  display: none;
  position: fixed;
  z-index: 99;
}

.p-easy-menu ul {
  list-style-type: none;
  background-color: white;
  overflow: auto;
  padding: 0px;
}
#left-popup ul {
  max-height: calc(100vh - 65px);
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 2px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
#left-popup ul li {
  max-width: 180px;
  display: flex;
}
#left-popup ul li:hover {
  background-color: #e62117;
  color: #fff !important;
}
#left-popup ul li:hover a {
  color: #fff !important;
}
#left-popup ul li a {
  padding: 4px 15px;
  color: #000;
}

#right-popup {
  display: none;
  right: 0;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: none;
}
#right-popup > div {
  border: none;
}
.social-share ul li {
  display: inline-block;
  padding: 15px;
  padding-right: 0px;
  border: 0 !important;
}
.social-share ul {
  box-shadow: none;
}
.menu-item {
  padding: 3px 15px;
  color: black;
  width: 100%;
  display: inline-block;
}
#right-popup .menu-item:hover {
  background-color: lightgrey;
}
#right-popup h2 {
  font-size: 1rem;
  margin-bottom: 2px;
  color: #767676;
}
.p-easy-menu .p-easy-menu-container .p-easy-menu-content .item {
  padding: 3px 15px;
}
#right-popup hr {
  margin: 9px 0px !important;
}
.column {
  padding: 10px 8px;
}
.line-add-friends a {
  display: block;
  max-width: 100%;
  height: 35px;
  overflow: hidden;
  background-color: #0b0;
  text-align: center;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
.line-add-friends img {
  width: 150px;
  position: relative;
  top: -5px;
}
.app-container img {
  width: 100%;
}
.footersub {
  font-size: 1em;
  color: #666;
}
.copyright {
  font-size: 0.8em;
  cursor: text;
}
.font-white,
.font-white a {
  color: white;
}
.search-popup-form {
  border: 1px solid rgba(0, 0, 0, 0.15);
  display: block;
  padding: 5px 10px;
  width: 100vw;
}

ul.nav li.nav-item ul.menu-dropdown li a {
  display: block;
  position: relative;
  width: 168px !important;
  padding: 8px 16px !important;
}

/* APPEND */
.nav .nav-item.menu a {
  font-size: 18px;
}
.navbar {
  box-shadow: none;
  border-bottom: 1px solid #f2f2f2;
}

.social-share {
  display: block;
  text-align: end;
  flex-direction: row-reverse;
  font-size: 1.5rem;
}

.mostview-card {
  box-shadow: none;
  border: 1px solid #f2f2f2;
}

.recommend-card {
  box-shadow: none;
  border: 1px solid transparent;
}

.recommend-card:hover {
  border: 1px solid #f5f5f5;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
}

.card {
  margin-top: 1rem;
}

/* Breadcrumb */
.breadcrumb {
  padding: 0.125rem 1rem;
  font-size: 1rem;
  border-radius: 0;
}
.breadcrumb a.breadcrumb-item {
  color: #53A393;
}
.breadcrumb a:hover.breadcrumb-item {
  color: #000;
  text-decoration: underline;
}
.td-default-sharing a:visited {
  color: white;
}
h2 {
  font-size: 1.5rem;
  /* color: #53A393; */
  border-bottom: 1px solid #242424;
  text-transform: uppercase;
  padding: 0.5rem 0;
}

h4.card-title {
  font-size: 16px;
  font-family: "Maledpan-bold", sans-serif !important;
}

p.card-text {
  font-size: 12px;
}

a,
a:visited {
  color: #000;
}

a:hover {
  /* color: #53A393; */
}

/* Floating Button */
.btop {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 99;
}

/* Ads */
.ads {
  margin: 0 auto;
  font-size: 36px;
}

.ads-leaderboard {
  width: 728px;
  height: 90px;
  background-color: #b5e4df;
}

.ads-medium-rectangle {
  width: 300px;
  height: 250px;
  background-color: #cdc2d6;
}

/* Line Clamp */
.line-clamp {
  display: block;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  position: relative;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 !important;
}

.line-clamp-2 {
  -webkit-line-clamp: 2;
  height: calc(1em * 1.2 * 2);
}

/* @Media */
@media (max-width: 768px) {
  .navbar-brand.logo {
    margin: 0 1rem;
  }

  .navbar-brand.logo img {
    width: 45px;
  }

  /* Swiper */
  .swiper-container {
    height: auto;
  }
}

.share-fb {
  background-color: #516eab;
}

.share-twitter {
  background-color: #29c5f5;
}

.share-line {
  background-color: #12be07;
  position: relative;
}

.share-gplus {
  background-color: #eb4026;
}

/* Template 1 */
.template1-social-share {
  text-transform: uppercase;
  position: -webkit-sticky;
  position: sticky;
  top: 10px;
  z-index: 1020;
}

.template1-social-share .share-line img {
  width: 18px;
  position: relative;
  top: 5px;
  filter: invert(100%);
}

.template1-social-share a {
  padding: 5px;
  width: 4rem;
  height: 3rem;
  margin-bottom: 1rem;
}

.template1-social-share a i {
  position: relative;
}

.template1-social-share a span {
  font-size: 14px;
}

@media (max-width: 768px) {
  .template1-title {
    font-size: 28px;
  }

  .template1-social-share {
    position: relative;
  }

  .template1-social-share a i {
    top: 7px;
  }

  .template4-social-share a {
    width: 32px;
    height: 32px;
  }
}
